<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>位置</title>
	<style>
		.sample{background-color: pink;}
		.sample{position: absolute;}

		.sample{top: 30px;left: 30px;}
		.sample{bottom: 30px;right: 30px;}
	</style>
</head>
<body>
	<div class="sample">sample</div>
</body>
</html>